package com.luyue.zagj.activity.myAccount;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;

import com.luyue.zagj.R;
import com.luyue.zagj.view.DialogPopView;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class VersionMsgActivity extends AppCompatActivity {

    @Bind(R.id.check_ver_tv)
    TextView checkVerTv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_version_msg);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.check_ver_tv)
    public void onClick() {
        CheckVersion();
    }

    private void CheckVersion() {
        final DialogPopView pop=new DialogPopView(this);
        pop.setOnSurePopupClickListener(new DialogPopView.OnSurePopupClickListener() {
            @Override
            public void onSureClick(View v) {
                pop.dismiss();
            }
        });
        pop.showPopupWindow();
    }
}
